<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录</title>
    <link rel="stylesheet" href="../static/css/login.css">
</head>

<body>
    <h1>“求职若渴”招聘信息分析系统</h1>
    <hr>
    <div class="box">
        <form action="http://localhost:5000/logininfo" method="post">
            <table>
                <tr>
                    <td colspan="2">登录</td>
                </tr>
                <tr>
                    <td>用户名：</td>
                    <td><input type="text" name="name" placeholder="请输入用户名" required></td>
                </tr>
                <tr>
                    <td>密码：</td>
                    <td><input type="password" name="pass" placeholder="请输入密码" required></td>

                </tr>
            </table>
            <div class="form-foot">
                <div class="form-btn">
                    <input type="submit" value="点击登录" class="center">
                </div>
                <div class="tip"><a href="{{ url_for('register') }}">没有账户？点击注册</a></div>
            </div>
        </form>
        {% if flag==1 %}<p style="color:white" >用户名或密码输入错误!</p>{% endif %}
    </div>
</body>
</html>